package com.cyzy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ViewController {

    @GetMapping("/userorder")
    public  String showOrder(){

        return "userorder";
    }

    @GetMapping("/homepage")
    public String showHomepage(){
        return "homepage";
    }

    @GetMapping("/head_12306")
    public String showHead(){
        return "head_12306";
    }

    @GetMapping("/login")
    public String showLogin(){
        return "login";
    }

    @GetMapping("/reg")
    public String showReg(){
        return "reg";
    }

    @GetMapping("/nextorder")
    public String showNextOrder(){
        return "nextorder";
    }

    @GetMapping("/oneway")
    public String showOneway(){
        return "oneway";
    }

    @GetMapping("/ridingusers")
    public String showRidingUsers(){
        return "ridingusers";
    }

    @GetMapping("/usercentre")
    public String showUserCentre(){
        return "usercentre";
    }

    @GetMapping("/usermessage")
    public String showUserMessage(){
        return "usermessage";
    }

    @GetMapping("/usersafety")
    public String showUserSafety(){
        return "usersafety";
    }

    @GetMapping("/welcome")
    public String showWelcome(){
        return "welcome";
    }

    @GetMapping("/idnumber")
    public String showIdNumber(){
        return "idnumber";
    }
    @GetMapping("/money")
    public String showMoney(){
        return "money";
    }
    @GetMapping("/footer")
    public String showFooter(){
        return "footer";
    }

    @GetMapping("/payorder")
    public String showPayorder(){
        return "payorder";
    }
}

